package com.usian.admin.test;

import com.usian.admin.AdminApplication;
import com.usian.admin.service.AdWmNewsService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * ClassName: SpringbootWordScan
 * Author:   WGG
 * Date:    2022-11-2022/11/24-11:16
 * Version: 1.0
 * Description:
 */
@SpringBootTest(classes = AdminApplication.class)
@RunWith(SpringRunner.class)
public class SpringbootWordScan {
    @Autowired
    AdWmNewsService adWmNewsService;

    @Test
    public void testScan() throws Exception {
        adWmNewsService.oneUpdate(6181);
    }
}
